package users.pojo;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;

import common.pojo.BasePojo;

/***
 * 日志表
 * @author lby
 *
 */
public class ALog extends BasePojo<ALog>
{
	/***
	 * 主键id
	 */
	private int id;
	/***
	 * 管理员id
	 */
	private  int adminsid ;
	/***
	 * 类型:0:登陆,1:创建菜单,2:更新菜单,3:创建角色,4:更新角色,5:授权
	 */
	private  int logType ;
	/***
	 * 描述
	 */
	private  String content ;
	/***
	 * ip
	 */
	private int ip;
	/***
	 * 状态
	 */
	private byte status ;
	public int getId()
	{
		return id;
	}
	public void setId(int id)
	{
		this.id = id;
	}
	public int getAdminsid()
	{
		return adminsid;
	}
	public void setAdminsid(int adminsid)
	{
		this.adminsid = adminsid;
	}
	public int getLogType()
	{
		return logType;
	}
	public void setLogType(int logType)
	{
		this.logType = logType;
	}
	public String getContent()
	{
		return content;
	}
	public void setContent(String content)
	{
		this.content = content;
	}
	public int getIp()
	{
		return ip;
	}
	public void setIp(int ip)
	{
		this.ip = ip;
	}
	public byte getStatus()
	{
		return status;
	}
	public void setStatus(byte status)
	{
		this.status = status;
	}
	public Date getCreateTime()
	{
		return createTime;
	}
	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}
	public Date getUpdateTime()
	{
		return updateTime;
	}
	public void setUpdateTime(Date updateTime)
	{
		this.updateTime = updateTime;
	}
	public Date getPubTime()
	{
		return pubTime;
	}
	public void setPubTime(Date pubTime)
	{
		this.pubTime = pubTime;
	}
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date pubTime;
}
